package com.neu.af.dataFilter.mapper;

import com.neu.af.common.base.BaseMapper;
import com.neu.af.dataFilter.entity.TagRuleAlarm;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TagRuleAlarmMapper extends BaseMapper<String, TagRuleAlarm> {
    int deleteAll();
    TagRuleAlarm getByTagName(String tagName);
    List<TagRuleAlarm> getNullTagRuleAlarms();
    List<TagRuleAlarm> getByAlarmClass(int alarm_class);
    List<TagRuleAlarm> getByContains(String contains);
}
